Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hooks, overhaul logging, improve rostopic recording #4

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

abhaybd
Copy link
Member

@abhaybd abhaybd commented May 22, 2024

  • Adds several hooks to the demo interface (pre/post hooks, mode change hook)
  • Adds info dict for centralized state
  • Centralizes rostopic recording into info dict (handles synchronization)
  • Overhauls logging to record directly to a pickle file, and add corresponding parse_log script for dumping the data (supports images)

@abhaybd abhaybd requested a review from Kelym May 22, 2024 00:24
Copy link
Member

@Kelym Kelym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to merge asap to wrap up our time at UW.
I leave a few comments:
(1) need to add comments for readability
(2) remove mode_change_hook as its function is not necessary atm
(3) rename a few functions for clarification

tycho_demo/utils/util.py Show resolved Hide resolved
tycho_demo/demo_interface.py Show resolved Hide resolved
tycho_demo/demo_interface.py Outdated Show resolved Hide resolved
tycho_demo/demo_interface.py Outdated Show resolved Hide resolved
tycho_demo/demo_interface.py Outdated Show resolved Hide resolved
tycho_demo/addon/ros_record.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants